QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    addpaper.cpp \
    addperson.cpp \
    addprogram.cpp \
    addstudent.cpp \
    addteacher.cpp \
    agreeend.cpp \
    agreemoney.cpp \
    agreepro.cpp \
    askmoney.cpp \
    bigsave.cpp \
    deleteperson.cpp \
    dialog.cpp \
    endprogram.cpp \
    id.cpp \
    main.cpp \
    mainwindow.cpp \
    paper.cpp \
    person.cpp \
    picture.cpp \
    program.cpp \
    root.cpp \
    searchpap.cpp \
    searchper.cpp \
    searchpro.cpp \
    searchwin.cpp \
    setedit.cpp \
    student.cpp \
    teacher.cpp

HEADERS += \
    addpaper.h \
    addperson.h \
    addprogram.h \
    addstudent.h \
    addteacher.h \
    agreeend.h \
    agreemoney.h \
    agreepro.h \
    askmoney.h \
    bigsave.h \
    deleteperson.h \
    dialog.h \
    endprogram.h \
    id.h \
    mainwindow.h \
    paper.h \
    person.h \
    picture.h \
    program.h \
    root.h \
    searchpap.h \
    searchper.h \
    searchpro.h \
    searchwin.h \
    setedit.h \
    student.h \
    teacher.h

FORMS += \
    addpaper.ui \
    addperson.ui \
    addprogram.ui \
    addstudent.ui \
    addteacher.ui \
    agreeend.ui \
    agreemoney.ui \
    agreepro.ui \
    askmoney.ui \
    deleteperson.ui \
    dialog.ui \
    endprogram.ui \
    mainwindow.ui \
    picture.ui \
    root.ui \
    searchpap.ui \
    searchper.ui \
    searchpro.ui \
    searchwin.ui \
    setedit.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    ima.qrc
